import{D as e,E as t,On as n,_ as r,b as i,g as a,k as o,mt as s,o as c,qt as l,tr as u,y as d}from"./CIxmKYxc4tZcJF.js";import{t as f}from"./AuTu7hII1ERTdj.js";import{t as p}from"./Ci1jkrOX22RfFv.js";import{t as m}from"./COND-6yHNR4zg.js";import{i as h}from"./Djz-X2uT3RQbKF.js";import{o as g}from"./BbxvatETxeTHf.js";import"./C3Xax3Tz4BagVD.js";import{n as _,t as v}from"./B-Bvl4N43PCqeg.js";/* empty css              */var y={class:`app-page app-inbox app-document`},b={class:`app-page-body`},x={class:`app-document-content`},S=o({__name:`app-document-contact`,props:{id:{}},setup(o){let S=o,C=g.workspace?.useReactive(a(()=>S.id));return(a,o)=>(s(),i(`div`,y,[e(n(m),null,{default:l(()=>[t(u(a.$t(`document.titleAccountContact`)),1)]),_:1}),r(`div`,b,[r(`div`,x,[n(C)?(s(),i(c,{key:0},[n(h)(n(C))?(s(),i(c,{key:0},[e(n(f),{modelValue:n(C).title,"onUpdate:modelValue":o[0]||=e=>n(C).title=e,class:`full`,title:a.$t(`document.labelTitle`)},null,8,[`modelValue`,`title`]),e(n(p),{modelValue:n(C).address,"onUpdate:modelValue":o[1]||=e=>n(C).address=e,title:a.$t(`document.labelAddress`),class:`full`,style:{"min-height":`80px`}},null,8,[`modelValue`,`title`]),e(_,{modelValue:n(C).country,"onUpdate:modelValue":o[2]||=e=>n(C).country=e,class:`full`,title:a.$t(`document.labelCountry`)},null,8,[`modelValue`,`title`]),e(n(p),{modelValue:n(C).notes,"onUpdate:modelValue":o[3]||=e=>n(C).notes=e,title:a.$t(`document.labelNotes`),class:`full`},null,8,[`modelValue`,`title`]),e(v,{modelValue:n(C).iban,"onUpdate:modelValue":o[4]||=e=>n(C).iban=e,title:a.$t(`document.labelIBAN`),class:`full`},null,8,[`modelValue`,`title`]),e(n(f),{modelValue:n(C).vatId,"onUpdate:modelValue":o[5]||=e=>n(C).vatId=e,class:`full`,title:a.$t(`document.labelVatId`)},null,8,[`modelValue`,`title`])],64)):d(``,!0)],64)):(s(),i(c,{key:1},[t(` This is not a category! `)],64))])])]))}});export{S as default};